int getlcm(int x, int y)
{
	int lcm;

	if (x > y)
		lcm = x;
	else
		lcm = y;
	while (lcm % x || lcm % y)
		lcm++;

	return lcm;
}